package com.woniu.dto;/*
 *
 * @author   米雷
 * @Description
 * @Date:create in 15:58 2020-03-28
 *
 * */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Date;


@AllArgsConstructor
@NoArgsConstructor
public class GoodsAll {

    private String title;   //商品名称
    private String description; //商品介绍
    private String oneprice;  //商品单价
    private Integer goodType;  //商品类型
    private String goodsImg; //商品图片

    public String getTitle()
    {
        return title;
    }

    @Override
    public String toString()
    {
        return "GoodsAll{" +
                "title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", oneprice='" + oneprice + '\'' +
                ", goodType=" + goodType +
                ", goodsImg='" + goodsImg + '\'' +
                '}';
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getOneprice()
    {
        return oneprice;
    }

    public void setOneprice(String oneprice)
    {
        this.oneprice = oneprice;
    }

    public Integer getGoodType()
    {
        return goodType;
    }

    public void setGoodType(Integer goodType)
    {
        this.goodType = goodType;
    }

    public String getGoodsImg()
    {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg)
    {
        this.goodsImg = goodsImg;
    }
}
